package com.hairline.service;

import com.hairline.bean.Comment;
import com.hairline.bean.CommentExample;
import com.hairline.bean.vo.CommentListVO;
import com.hairline.bean.vo.CommentVO;

import java.util.List;

public interface CommentService {
    long countComments(CommentExample example);

    List<Comment> selectCommentsbyExample(CommentExample commentExample);

    boolean deleteById(Comment comment);

    CommentListVO selectCommentsVO(Integer page, Integer limit, String sort, String order, Integer userId, Integer valueId);
}
